from django.shortcuts import render_to_response
from django.http import HttpResponse, HttpResponseRedirect
from django.template import RequestContext

from django.contrib.auth.forms import *
from django.contrib.auth import authenticate
from django.contrib.auth import login


from models import *
#TODO: Cambiar el id despues, solo para tests
def formapago1(request, id = 1010):
	articulo = TicketCompra.objects.get(id_articulo = id)
	return render_to_response ('index1.html', locals(), context_instance=RequestContext(request))

def formapago2(request, id = 1010):
	return render_to_response ('index2.html', locals(), context_instance=RequestContext(request))


